using System;

namespace IQIGame.Onigao.GamePlay
{
    public interface IMaterialChangeable
    {
        string debugName { get; }

        void MatSetFloat(string name, float value);

        bool AddMatChangeRegion(MaterialChangeRegion region);

        bool RemoveMatChangeRegion(MaterialChangeRegion region);

        void RefreshMatRegion(MaterialChangeRegion region);

        void RegisterDestroyEvent(Action<IMaterialChangeable> action);

        void UnRegisterDestroyEvent(Action<IMaterialChangeable> action);
    }
}
